/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.csvgenerator;

/**
 *
 * @author Administrator
 */
public class Main {

    /**
     * @param args the command line arguments
     * Expects 4 input parameters
     * @param numberOfRows number of generated rows
     * @param numberOfRowsPerFile number of rows per file
     * @param inputFile file path to the input model file
     * @param outputFile file path for the output file
     */
    public static void main(String[] args) {
        System.out.println("CSVGenerator started.");
        long numberOfRows = Long.parseLong(args[0]);
        long numberOfRowsPerFile = Long.parseLong(args[1]);
        String inputFile = args[2];
        String outputFile = args[3];
        
        new CSVGenerator(numberOfRows, numberOfRowsPerFile, inputFile, outputFile).generate();
                
        System.out.println("CSVGenerator finished.");

    }
}
